package com.joey.cloud.psn.business.controller;


import com.baomidou.mybatisplus.extension.service.IService;
import com.joey.cloud.communal.utils.BaseController;
import com.joey.cloud.psn.business.entity.SysGroup;
import com.joey.cloud.psn.business.service.ISysGroupService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 组织架构 前端控制器
 * </p>
 *
 * @author Joey
 * @since 2021-03-19
 */
@Api(tags = "用户组")
@RestController
@RequestMapping("/business/group")
public class SysGroupController extends BaseController<SysGroup> {
    @Autowired
    ISysGroupService sysGroupService;

    @Override
    public IService<SysGroup> getService() {
        return sysGroupService;
    }
}

